package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Claim;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;
import java.util.Map;

public interface ClaimMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Claim entity);

    Claim selectByPrimaryKey(Long id);

    List<Claim> selectAll();

    int updateByPrimaryKey(Claim entity);

    int query4Count(QueryObject qo);

    List<Claim> query4List(QueryObject qo);

    List<Claim> claimlist(Long id);

    void changeClaimState(Long id);
}